package com.ywd.materials.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ywd.materials.admin.dto.query.MaterialsGoodsQuery;
import com.ywd.materials.admin.entity.MaterialsGoodsEntity;
import com.ywd.materials.admin.vo.MaterialsGoodsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:lk
 * @Date: 2025/11/13  00:22
 */
@Mapper
public interface MaterialsGoodsMapper extends BaseMapper<MaterialsGoodsEntity> {


    List<MaterialsGoodsVo> getGoodsPage(@Param("query") MaterialsGoodsQuery query);

    MaterialsGoodsVo getGoodsDetails(@Param("id") Long id);

}
